package com.hongshan.wallet.base

import android.app.Application
import android.os.Bundle
import me.goldze.mvvmhabit.base.BaseViewModel

/**
 * Copyright Zhangxx.
 * Copyright (c) 2019
 * All rights reserved
 *
 * @project  : Wallet
 * @package  : com.example.wallet.base
 * @author   : zhangxx
 * @date     : 2019/3/22
 * @email    : qq957413212@hotmail.com
 */
open class MyViewModel(application: Application) : BaseViewModel(application) {

    val finish = SingleLiveEvent<Unit>()
    val activityResult = SingleLiveEvent<Bundle>()
    val showLoading = SingleLiveEvent<Unit>()
    val showSuccess = SingleLiveEvent<Unit>()
    val showFail = SingleLiveEvent<Unit>()
    val showEmpty = SingleLiveEvent<Unit>()

    open fun initial(){}

    open fun reLoad() {}

}